﻿@model PTUDW_CNTN2010_F_CDT.Models.LogInModel
<body style="padding:35px">
@{
    ViewBag.Title = Resources.LogIn;
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>@Resources.LogIn</h2>
<p>
    @Resources.PleaseEnterPassword @Html.ActionLink(@Resources.Register, "Register") @Resources.IfDontHaveAccount
</p>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


<div>
    @Html.ActionLink(@Resources.LogInWithGoogle, "Authenticate", null, new { @class = "LogWithGoogleBtn" })
</div>

        <br />

@using (Html.BeginForm()) {
  
    <fieldset style="background:url(/images/img/backgroundlogin.png)">
        <legend>@Resources.OrThisPageAccount</legend>

        <div class="editor-field">
            @Html.LabelFor(model => model.UserName)<span class="star">*</span><br />
            @Html.TextBoxFor(model => model.UserName)
            @Html.ValidationMessageFor(model => model.UserName)
        </div>

        <div class="editor-field">
            @Html.LabelFor(model => model.Password)<span class="star">*</span><br />
            @Html.PasswordFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>
        <div class="editor-field">
            @Html.LabelFor(model => model.RememberMe)
            @Html.CheckBoxFor(model => model.RememberMe)
            @Html.ValidationMessageFor(model => model.RememberMe)
        </div>
        <p>
            <input type="submit" value="@Resources.LogIn" class="LoginButton" />
        </p>
    </fieldset>
}
</body>